$--colors: (
  'primary': (
    'base': #1f59ef,
  ),
);

.el-message-box__btns .el-button {
  padding: 8px 15px;
}
.el-container .el-button {
  padding: 8px 15px;
}

// 自定义表格样式
.el-table {
  height: 100%;
  font-size: 14px;
  color: #666;
  border-radius: 4px;
  .cell {
    white-space: nowrap;
  }
  thead {
    height: 44px;
    tr,
    th.el-table__cell {
      background: #f2f6f8;
      font-size: 14px;
      color: #333;
      font-weight: bold;
    }
    th.el-table-fixed-column--left,
    th.el-table-fixed-column--right {
      background: #f2f6f8 !important;
    }
  }
  td.el-table__cell,
  th.el-table__cell.is-leaf {
    border-bottom: 1px solid #ffff;
  }
  .el-button.el-button--text {
    margin-left: 0;
    padding: 8px 8px;
  }
  .el-button.is-link.btn-danger {
    color: #ed0731;
  }
  .el-button.is-link.btn-open {
    color: #4cd708;
  }
  .enable {
    background: #4cd708;
  }
  .disable {
    background: #f5222d;
  }
}

.el-dialog {
  .el-dialog__header {
    height: 55px;
    line-height: 55px;
    padding: 0 22px;
    margin-right: 0;
    border-bottom: 1px solid #e4e4e4;
    .el-dialog__title {
      font-size: 17px;
      font-weight: 600;
      color: #333333;
    }
    .el-dialog__headerbtn {
      top: 0;
      .el-dialog__close {
        font-size: 22px;
        padding: 2px;
        color: #666666;
        border-radius: 50%;
      }
    }
  }
  .el-dialog__body {
    padding: 20px 40px;
  }
  .el-dialog__footer {
    height: 56px;
    line-height: 56px;
    text-align: center;
    padding: 0 22px;
    border-top: 1px solid #e4e4e4;
    .el-button {
      width: 100px;
      border-radius: 4px;
      border-color: #1f5bce;
      color: #1f5bce;
      font-weight: 600;
      &:first-child {
        margin-right: 52px;
      }
    }
    .el-button.el-button--primary {
      margin-right: 0;
      color: #ffffff;
      background: linear-gradient(211deg, #4195e9 0%, #1f5bce 100%);
      border-color: transparent;
    }
  }
  .content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    .el-radio-group {
      .is-checked {
        .el-radio__inner {
          border-color: #027efa;
          background: none;
        }
        .el-radio__inner::after {
          width: 8px;
          height: 8px;
          background: #027efa;
        }
      }
    }
  }
}

.el-button {
  padding: 8px 15px;
  &.is-link {
    color: #59abe9;
    padding: 0;
  }
  &.el-button--primary:not(.el-button.is-link) {
    background: linear-gradient(211deg, #4195e9 0%, #1f5bce 100%);
  }
}
